package cn.edu.hqu.tkserver.modules.tk.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;



/**
 * 订单
 */
public class OrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//
	private Integer id;
	//票
	private Integer ticketId;
	//金额
	private BigDecimal amount;
	//找零
	private String change;
	//时间
	private Date createTime;
	
	private String realName;
	
	private String mobile;
	
	private String cardNo;
	
	private TicketEntity ticket;

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：票
	 */
	public void setTicketId(Integer ticketId) {
		this.ticketId = ticketId;
	}
	/**
	 * 获取：票
	 */
	public Integer getTicketId() {
		return ticketId;
	}
	/**
	 * 设置：金额
	 */
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	/**
	 * 获取：金额
	 */
	public BigDecimal getAmount() {
		return amount;
	}
	/**
	 * 设置：找零
	 */
	public void setChange(String change) {
		this.change = change;
	}
	/**
	 * 获取：找零
	 */
	public String getChange() {
		return change;
	}
	/**
	 * 设置：时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	
	public String getRealName() {
		return realName;
	}
	
	public void setRealName(String realName) {
		this.realName = realName;
	}
	
	public String getMobile() {
		return mobile;
	}
	
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	
	public String getCardNo() {
		return cardNo;
	}
	
	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}
	
	public TicketEntity getTicket() {
		return ticket;
	}
	
	public void setTicket(TicketEntity ticket) {
		this.ticket = ticket;
	}
	
	
}
